package com.atguigu.search.vo;

import lombok.Data;

import java.util.List;

@Data
public class SearchParam {
    private String keyword;
    private Long catalog3Id;

    /*
    *sort=saleCount_desc/asc
    * sort=skuPrice_desc/asc
    * sort=hotScore_desc/asc
    * */
    private String sort;//排序条件

    /*
    * 好多过滤条件
    * hasStock是否有货
    * skuPrice区间1_500 _500 500_
    * brandId=1&brandId=2
    * attrs=1_5寸:6寸
    *
    * */
    private Integer hasStock;
    private String skuPrice;
    private List<String> brandId;
    /**
     * attrs=1_5寸:6寸
     */
    private List<String> attrs;
    private Integer pageNum=1;
    private String link;
}
